3.1240 \(\int (c+d x) \, dx\)

Optimal. Leaf size=12 \[ c x+\frac {d x^2}{2} \]

[Out]

c*x+1/2*d*x^2

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 0, integrand size = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ c x+\frac {d x^2}{2} \]

Antiderivative was successfully verified.

[In]

Int[c + d*x,x]

[Out]

c*x + (d*x^2)/2

Rubi steps

\begin {align*} \int (c+d x) \, dx &=c x+\frac {d x^2}{2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 12, normalized size = 1.00 \[ c x+\frac {d x^2}{2} \]

Antiderivative was successfully verified.

[In]

Integrate[c + d*x,x]

[Out]

c*x + (d*x^2)/2

________________________________________________________________________________________

fricas [A]  time = 0.39, size = 10, normalized size = 0.83 \[ \frac {1}{2} x^{2} d + x c \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(d*x+c,x, algorithm="fricas")

[Out]

1/2*x^2*d + x*c

________________________________________________________________________________________

giac [A]  time = 0.90, size = 10, normalized size = 0.83 \[ \frac {1}{2} \, d x^{2} + c x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(d*x+c,x, algorithm="giac")

[Out]

1/2*d*x^2 + c*x

________________________________________________________________________________________

maple [A]  time = 0.00, size = 11, normalized size = 0.92 \[ \frac {1}{2} d \,x^{2}+c x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(d*x+c,x)

[Out]

1/2*d*x^2+c*x

________________________________________________________________________________________

maxima [A]  time = 1.35, size = 10, normalized size = 0.83 \[ \frac {1}{2} \, d x^{2} + c x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(d*x+c,x, algorithm="maxima")

[Out]

1/2*d*x^2 + c*x

________________________________________________________________________________________

mupad [B]  time = 0.02, size = 10, normalized size = 0.83 \[ \frac {d\,x^2}{2}+c\,x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(c + d*x,x)

[Out]

c*x + (d*x^2)/2

________________________________________________________________________________________

sympy [A]  time = 0.06, size = 8, normalized size = 0.67 \[ c x + \frac {d x^{2}}{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(d*x+c,x)

[Out]

c*x + d*x**2/2

________________________________________________________________________________________